#1F0293

Color Details

HEX
#1F0293
RGB
rgb(31, 2, 147)
HSL
hsl(252, 97%, 29%)
CMYK
cmyk(79%, 99%, 0%, 42%)
Best text on this color #FFFFFF (CR 14.11:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #1F0293 swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #1F0293

#1F0293 converts to RGB(31, 2, 147) and HSL(252, 97%, 29%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#1F0293 FAQs

What is the RGB value of #1F0293?
RGB: 31, 2, 147. Copy as CSS: rgb(31, 2, 147)
Is #1F0293 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #1F0293?
Complement: #759202.
Does #1F0293 have good contrast on white or black?
On white: 14.11:1 (AAA (normal text)). On black: 1.49:1 (Fails AA).